<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title></title>
</head>
<!-- 密码更改-->
<body>
	<h1 align="center">密码更改</h1>
	<hr />
	<form action="update" name="myform" onsubmit="return check()"method = "post">
		<table align="center">
			<tr>
				<td>请输入用户名</td>
				<td><input type="text" name="uname" /></td>
			</tr>
			<tr>
				<td>请输入旧密码</td>
				<td><input type="password" name="pwd" /></td>
			</tr>
			<tr>
				<td>请输入新密码</td>
				<td><input type="password" name="pwd1" /></td>
			</tr>
			<tr>
				<td>请再次输入密码</td>
				<td><input type="password" name="pwd2" /></td>
			</tr>
			<tr>
				<td colspan="2" align="center"><input type="submit" value="提交" /></td>
			</tr>
		</table>
	</form>
	<!-- <script type="text/javascript">
	 	function check() {
			if (myform.pwd1.value != myform.pwd2.value) {
				alert("密码不一样，请重新输入");
				myform.password.focus();
				return false;
			} 
		}
	</script> -->
</body>
</html>